import axios from '@/router/axios'

// 获取头部主菜单
export function getHomePageMenuList (type) {
  return axios.get(`/api/menus`, {
    params: {
      type
    }
  })
}

// 获取图书目录菜单
export function getBookMenuList () {
  return axios.get(`/api/menus/catalog/book`)
}

// 获取艺术品与收藏目录菜单
export function getArtworkMenuList () {
  return axios.get(`/api/menus/catalog/artwork`)
}

// 获取文创与周边目录菜单
export function getPeripheryMenuList () {
  return axios.get(`/api/menus/catalog/periphery`)
}
